
package com.hi.cdi.versioning.domain;

import java.util.Date;
import org.springframework.data.mongodb.core.mapping.Document;
 
privileged aspect Book_History_Fields{
	
	declare @type : Book_History:@Document(collection="book_history");
	
	private long Book_History.revisionId;
	
	private Date Book_History.when; 
	
	private Book Book_History.book;
	
	public long Book_History.getRevisionId(){
		return this.revisionId;
	}

	public void Book_History.setRevisionId(long revisionId){
		this.revisionId = revisionId;
	}
	
	public Date Book_History.getWhen(){
		return this.when;
	}

	public void Book_History.setWhen(Date when){
		this.when = when;
	}
	
	public Book Book_History.getBook(){
		return this.book;
	}
	
	public void Book_History.setBook(Book book){
		this.book = book;
	}
	
}
